home *** CD-ROM | disk | FTP | other *** search
- Path: ix.netcom.com!news
- From: Bradd W. Szonye <bradds@ix.netcom.com>
- Newsgroups: comp.lang.ada,comp.lang.c,comp.lang.c++,comp.edu
- Subject: RE: ANSI C and POSIX (was Re: C/C++ knocks the crap out of Ada)
- Date: 19 Apr 1996 09:07:07 GMT
- Organization: Netcom
- Message-ID: <01bb2dcf.e0201620$c6c2b7c7@Zany.localhost>
- References: <JSA.96Feb16135027@organon.com> <dewar.829048603@schonberg> <4kets3$ic0@news-s01.ny.us.ibm.net> <829194658snz@tsys.demon.co.uk> <DppsHq.1Ar@world.std.com>
- NNTP-Posting-Host: det-mi6-06.ix.netcom.com
- X-NETCOM-Date: Fri Apr 19 4:07:07 AM CDT 1996
- X-Newsreader: Microsoft Internet News
-
-
- On Thursday, April 11, 1996, Robert A Duff wrote...
- > In article <829194658snz@tsys.demon.co.uk>,
- > Tom Wheeley <tomw@tsys.demon.co.uk> wrote:
- > >What Robert is complaining about is that he is reading a 68 byte file
- by
- > >requesting 1000 bytes; and that in his opinion, read should stop
- reading
- > >at the end of the file, and return control.
- >
- > No, I think Robert is complaining (quite correctly) that the
- > documentation is unclear on this point. You shouldn't have to rely on
- > common sense to know what 'read' does in various error cases, or to know
- > which cases are in fact considered errors. The problem is that
- > everybody's common sense doesn't match everybody else's, at least not in
- > all cases.
-
- Pardon me if this sounds silly, but...
- You shouldn't have to rely on the documentation to make up for a lack of
- common sense.
-
- Bradd.
-
-
-